﻿<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl" >
	<xsl:template match="/xml">
		<table style="TABLE-LAYOUT: fixed; WIDTH: 100%; BORDER-COLLAPSE: collapse" bordercolor="#517dbf" cellspacing="0" cellpadding="3" align="center" bgcolor="#ffffff" border="1">
            <colgroup>
                <col width="60px;"/>
                <col/>
            </colgroup>
			<tr id="hisTitle">
				<td style="color: white; background-color: #7288AC" colspan="2">历史业务信息</td>
			</tr>
			<xsl:for-each select="PH">
				<tr>
					<td colspan="2">
						<xsl:element name="a">
							<xsl:attribute name="href">#</xsl:attribute>
							<xsl:attribute name="onclick">openHistoryProcess('<xsl:value-of select="HistoryGUID"/>');</xsl:attribute>
							<xsl:value-of select="SaveDateTime"/><xsl:text> </xsl:text><xsl:value-of select="ProcessName"/>(<xsl:value-of select="Version"/>-校稿备份版本)<xsl:text> </xsl:text>【<xsl:value-of select="Corrector"/>】
						</xsl:element>
					</td>
				</tr>
				<tr>
                    <td style="border-right:0px;" valign="top">校稿原因:</td>
					<td style="word-break:break-all;border-left:0px;">
                            <xsl:value-of select="Reason"/>
					</td>
				</tr>
			</xsl:for-each>
		</table>
	</xsl:template>
</xsl:stylesheet>